package meta

var sqlInsertPage = `
INSERT INTO meta_pages_#tenant_id (name, content) VALUES (@name, @content);
`

var sqlGetPageByID = `
SELECT id, name, content, created_at, updated_at FROM meta_pages_#tenant_id WHERE id = @id;
`

var sqlGetPageByName = `
SELECT id, name, content, created_at, updated_at FROM meta_pages_#tenant_id WHERE name = @name;
`

var sqlUpdatePage = `
UPDATE meta_pages_#tenant_id SET name = @name, content = @content WHERE id = @id;
`
